package com.markerhub.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 异常人员表
 * @author zhz
 * @since 2021-9-18 11:38:20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_unusual_person")
@ApiModel(value = "TUnusualPerson对象", description = "异常人员表")
public class TUnusualPerson implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.ID_WORKER)
    private Long id;

    //国际用户识别码
    @ApiModelProperty(value = "国际用户识别码")
    @TableField("IMSI")
    private String imsi;

    //运营商类型：DX 电信   YD 移动  LT 联通  QT 其他  HW 海外
    @ApiModelProperty(value = "运营商类型：DX 电信   YD 移动  LT 联通  QT 其他  HW 海外")
    @TableField("SMS_TYPE")
    private String smsType;

    //创建时间
    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    //备注
    @ApiModelProperty(value = "备注")
    @TableField("MARK")
    private String mark;

    @ApiModelProperty(value = "健康码状态：G 绿码，Y 黄码，R 红码")
    @TableField("HEALTHCODE_STATE")
    private String healthcodeState;

    @ApiModelProperty(value = "核酸检测时间")
    @TableField("ACIDTEST_TIME")
    private LocalDateTime acidtestTime;

    @ApiModelProperty(value = "核酸检测结果：阴性，阳性")
    @TableField("ACIDTEST_RESULT")
    private String acidtestResult;

    @ApiModelProperty(value = "注射疫苗情况：未接种，已接种第一针，已完成全程接种")
    @TableField("VACCINATION")
    private String vaccination;

    @ApiModelProperty(value = "14天行程")
    @TableField("HODOMETER")
    private String hodometer;

    @ApiModelProperty(value = "手机号")
    @TableField("MOBILE")
    private String mobile;

    @ApiModelProperty(value = "身份证")
    @TableField("CARD_ID")
    private String cardId;

    @ApiModelProperty(value = "姓名")
    @TableField("NAME")
    private String name;

    //状态：0 禁用  1 启用
    @ApiModelProperty(value = "状态：0 禁用  1 启用")
    @TableField("UNUSUAL_STATE")
    private Integer unusualState;


}